package com.tsl.prevention.modules.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiOperation;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 出行记录表
 * </p>
 *
 * @author Lionel
 * @since 2021-03-20
 */
@TableName("user_record")
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 出行
     */
    private String recordId;

    /**
     * 出行时体温
     */
    private String temperature;

    /**
     * 用户id
     */
    private String userId;

    private LocalDateTime createtime;

    private LocalDateTime updatetime;


    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public LocalDateTime getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(LocalDateTime updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "Record{" +
        "recordId=" + recordId +
        ", temperature=" + temperature +
        ", userId=" + userId +
        ", createtime=" + createtime +
        ", updatetime=" + updatetime +
        "}";
    }
}
